package com.shop.shoppingmall.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (ShInproduct)实体类
 *
 * @author makejava
 * @since 2021-02-18 16:08:25
 */
@Data
public class ShInproduct implements Serializable {
    private static final long serialVersionUID = -64864724552105922L;
    /**
     * 主键
     */
    private String id;
    /**
     * 商品名称
     */
    private String productName;
    /**
     * 商品图片
     */
    private String picture;
    /**
     * 商品规格
     */
    private String attribute;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 商品详情
     */
    private String detail;
    /**
     * 创建时间
     */
    private Date creatTime;
    /**
     * 更新时间
     */
    private Date updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }


    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
